Skip to content

Fix Repository __getitem__ consistency with __contains__#180

Open
sebPhilippot wants to merge 1 commit intoHBNetwork:masterfrom
sebPhilippot:fix-repository-getitem-consistency
Open

Fix Repository __getitem__ consistency with __contains__#180
sebPhilippot wants to merge 1 commit intoHBNetwork:masterfrom
sebPhilippot:fix-repository-getitem-consistency

Conversation

@sebPhilippot
Copy link

No description provided.

Copy link
Member

@lucasrcezimbra lucasrcezimbra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are you trying to fix here? Can you explain and add test cases?

@sebPhilippot
Copy link
Author

The goal of my change (for issue #176) was to make the Repository classes consistent: if contains returns True because the key is present in os.environ, then getitem should also read from os.environ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants